package com.arpa.wms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 库位DTO
 * </p>
 *
 * @author LEO
 * @since 2020-08-03
 */
@Data
@ApiModel(value="LocationDTO对象", description="库位")
public class LocationDTO extends BasicEntity {


    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "库位名称")
    private String name;

    @ApiModelProperty(value = "编码")
    private String serialNumber;

    @ApiModelProperty(value = "所属仓库")
    private String warehouseCode;

    @ApiModelProperty(value = "授权该账号的仓库集合")
    private List<String> warehouseCodes;

    @ApiModelProperty(value = "所属库区")
    private String spaceCode;

    @ApiModelProperty(value = "库位类型")
    private String locationType;

    @ApiModelProperty(value = "库位承载类型")
    private String bearType;

    @ApiModelProperty(value = "上架动线号")
    private Integer shelvesNumber;

    @ApiModelProperty(value = "拣货动线号")
    private Integer pickNumber;

    @ApiModelProperty(value = "盘点动线号")
    private Integer inventoryNumber;

    @ApiModelProperty(value = "存放策略")
    private String storageStrategy;

    @ApiModelProperty(value = "出入库锁")
    private String ioLock;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "状态")
    private String status;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "是否可删除操作 0-不可删除 1-可删除")
    private String deleteFlag;

    @ApiModelProperty(value = "是否临时库位")
    private Integer tempLocation;
}
